import { ApiProperty } from '@nestjs/swagger';

export class LoginResDto {
  @ApiProperty({ example: '0', description: '状态码 0 为成功' })
  code: number;

  @ApiProperty({ example: 'success', description: '提示信息' })
  msg: string;

  @ApiProperty({
    example:
      'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwic3ViIjoxLCJpYXQiOjE2ODQ1OTM0ODgsImV4cCI6MTY4NDc2NjI4OH0.HobVbsdwev1Lbh5b2m1W6jqi9sT4I_ven2DCZCD7oZU',
    description: 'token',
  })
  token: string;
}
